home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource4
/
264_01
/
getdir.h
< prev
next >
Wrap
Text File
|
1979-12-31
|
768b
|
30 lines
/*
* getdir.h
*
* Definitions helpful for use with getdir.asm (find first & next match).
* Names are borrowed from Power C.
*/
/* File attribute values. */
#define FA_NORMAL 0x00
#define FA_RDONLY 0x01
#define FA_HIDDEN 0x02
#define FA_SYSTEM 0x04
#define FA_LABEL 0x08
#define FA_DIREC 0x10
#define FA_ARCH 0x20
#define FA_ALL 0x16
/* The directory entry format as read from the disk. */
struct ffblk {
char ff_reserved[21];
char ff_attrib;
/* format of time: hour:5, minute:6, twosec:5 */
unsigned ff_ftime;
/* format of date: year:7, month:4, day:5 */
unsigned ff_fdate;
unsigned long ff_fsize;
char ff_fname[13];
char ff_fill[85];
};